package com.bm.api.service;

import com.bm.common.dto.SearchDto;
import com.bm.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description:
 * @Author: 赵金帅
 * @Date: 2022/07/19/0:40
 */
@FeignClient(value="bm-Server")
public interface SearchService {
    @PostMapping("/server/search/select.do")
    R search(@RequestParam String name);
    @GetMapping("/server/search/zuan.do")
    R zuan(@RequestParam int uid);
    @GetMapping("/server/search/remen.do")
    R remen();
}
